package com.hkfrich;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
public class HkfrichApiApplication implements ApplicationRunner {
	private final static Logger logger =  LoggerFactory.getLogger(HkfrichApiApplication.class);

	@Value("${HKFRichAPI.space}")
	private  String space;

	public static void main(String[] args) {
		SpringApplication.run(HkfrichApiApplication.class, args);
	}

	@Override
	public void run(ApplicationArguments args) throws Exception {
		logger.info("---------------->当前加载"+space+"环境<-----------------");
	}




}
